import {ERROR_MESSAGE, RESET_ERROR_MESSAGE} from '../constants';

export const sendMessage = message => ({type: ERROR_MESSAGE, error: message});
// Resets the currently visible error message.
export const resetErrorMessage = () => ({type: RESET_ERROR_MESSAGE});

